package com.ruoyi.web.controller.corp;

import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/ordinary/check")
public class CorpEquipmentOrdinaryCheckPlanController extends BaseController {
    @PreAuthorize("@ss.hasPermi('equipmentplan:ordinarycheckplan:add')")
    @Log(title = "日常点检：日检",businessType = BusinessType.INSERT)
    @PostMapping("/adddailycheck")
    public AjaxResult addDailyCheck(){

        return toAjax(1);
    }
}
